package com.ruoyi.labmanage.mapper;

import java.util.List;
import com.ruoyi.labmanage.domain.Labreservation;

/**
 * 实验室预约Mapper接口
 * 
 * @author lh
 * @date 2025-01-12
 */
public interface LabreservationMapper 
{
    /**
     * 查询实验室预约
     * 
     * @param reservationId 实验室预约主键
     * @return 实验室预约
     */
    public Labreservation selectLabreservationByReservationId(Long reservationId);

    /**
     * 查询实验室预约列表
     * 
     * @param labreservation 实验室预约
     * @return 实验室预约集合
     */
    public List<Labreservation> selectLabreservationList(Labreservation labreservation);

    /**
     * 新增实验室预约
     * 
     * @param labreservation 实验室预约
     * @return 结果
     */
    public int insertLabreservation(Labreservation labreservation);

    /**
     * 修改实验室预约
     * 
     * @param labreservation 实验室预约
     * @return 结果
     */
    public int updateLabreservation(Labreservation labreservation);

    /**
     * 删除实验室预约
     * 
     * @param reservationId 实验室预约主键
     * @return 结果
     */
    public int deleteLabreservationByReservationId(Long reservationId);

    /**
     * 批量删除实验室预约
     * 
     * @param reservationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLabreservationByReservationIds(Long[] reservationIds);
}
